package com.kmb.provider.service;

import com.kmb.provider.api.SfKmDownloadService;
import com.kmb.provider.domain.SfKmDownload;
import com.kmb.provider.mapper.SfKmDownloadMapper;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;

@Service(version = "1.0.0")
public class SfKmDownloadServiceImpl implements SfKmDownloadService {

    @Resource
    private SfKmDownloadMapper sfKmDownloadMapper;

    @Override
    public int addDowload(SfKmDownload sfKmDownload) {
        int i = sfKmDownloadMapper.insertUseGeneratedKeys(sfKmDownload);
        return i;
    }
}

